/**
 * 本文件由尚数增量代码引擎生成
 * @author Shann <851188611@qq.com>
 */
import { request } from "./request";

export function getCoupons(param?: any) {
    return request("/admin/coupon", param);
}

export function getCoupon(param?: any) {
    return request("/admin/coupon/detail", param);
}

export function createCoupon(param?: any) {
    return request("/admin/coupon/create", param);
}

export function updateCoupon(param?: any) {
    return request("/admin/coupon/update", param);
}

export function deleteCoupon(param?: any) {
    return request("/admin/coupon/delete", param);
}
